Fix bugs in file timestamp newness comparisons.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 4 Jul 2012 00:04:46 +0000 (17:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 4 Jul 2012 00:04:46 +0000 (17:04 -0700)
commitb912f64f9d422cb01f4d9ab75ebf235c9557e04a
treec9c0c5294f6dcaaf9c144732eea59fa0508c4879
parentcffeb3c3cc64023574c01893f85f4cf965c78716
Fix bugs in file timestamp newness comparisons.

* fileio.c (Ffile_newer_than_file_p):
* lread.c (Fload): Use full timestamp resolution of files,
not just the 1-second resolution, so that files that are only
slightly newer still count as newer.
* fileio.c (Ffile_newer_than_file_p): Don't assume file
timestamps fit in 'int'; this fixes a Y2038 bug on most hosts.
src/ChangeLog
src/fileio.c
src/lread.c